/**
 * @author Tobias Boehm
 *
 * 30.03.2011
 */
package org.anddev.andengine.extension.tbsengine.region;

import java.util.Set;

import org.anddev.andengine.entity.layer.tiled.tmx.TMXTile;

/**
 * @author Tobias Boehm
 *
 */
public abstract class AbsRegion {

	protected Set<TMXTile> mAffectedMapTiles;
	
	protected abstract void recalculateAffectedMaptiles(Object... pParameters);

	public Set<TMXTile> getAffectedMapTiles() {
		return mAffectedMapTiles;
	}

	public void setAffectedMapTiles(Set<TMXTile> mAffectedMapTiles) {
		this.mAffectedMapTiles = mAffectedMapTiles;
	}
	
	public interface IRegionChangedListener {
		
		public void regionChanged(final AbsRegion pRegion);
	}
}
